<?php

require_once(dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . "TestHelper.php");

require_once("models/user.php");

require_once("PHPUnit/Framework.php");

class models_userClassTest extends PHPUnit_Framework_TestCase {
	
	protected $objUser;
	protected $objUserTmp;
	
	/**
	 * 
	 * @access public
	 */
	public function setUp(){
		$this->objUser 		= new classUser("chcn001",false);
		$this->objUserTmp	= new classUser("chcn001",true);
	}
	
	/**
	 * 
	 * @access public
	 */
	public function testNewClassUserIsCompleted(){
		if (!$this->objUser instanceof classUser ) {
			$this->markTestIncompleted("Can not new classuser use 'chcn001'");
		}
		if (!$this->objUserTmp instanceof classUser ) {
			$this->markTestIncompleted("Can not new Temp classuser use 'chcn001'");
		}
	}
	/**
	 *
	 */
	public function testLockFeeByNagative(){
		
	}
	
	
	/**
	 * 
	 * @access public
	 */
	public function tearDown(){
		$this->objUser		= null;
		$this->objUserTmp	= null;
	}
}